package
{
	import game.controller.GameController;
	
	import view.states.StateType;
	import view.states.StateViewBase;
	
	public class StateCreator
	{
		public function create(type:String):StateViewBase
		{
			switch(type)
			{
				case StateType.GAME:
					return new GameController();
					break;
				default:
					return null;
					break;
			}
		}
	}
}